@echo off

rem
copy /Y pkg-config.exe C:\mingw\bin\.

rem
mkdir C:\mingw\lib\pkg-config

rem oracle不同的版本的情况
if "%1" == "12" (
    echo "oracle 12c oci"
    copy /Y pkg-config\oci8_12c.pc C:\mingw\lib\pkg-config\oci8.pc
)else (
    echo "oracle 11g oci"
    copy /Y pkg-config\oci8.pc C:\mingw\lib\pkg-config\.
)


